package com.cy.ppj.dao.mapper.mall;

import com.cy.ppj.model.domian.mall.BrandRecommend;
import com.cy.ppj.model.query.mall.BrandRecommendAdminListQuery;
import com.cy.ppj.model.vo.mall.BrandRecommendAdminListVO;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @Description 品牌推荐 mapper
 * @Author tanyilin
 * @Date 2019/9/26 15:14
 */
@Mapper
public interface BrandRecommendMapper extends BaseMapper<BrandRecommend> {

    /**
     * 后台-品牌推荐列表
     * @param query
     * @return int
     */
    int selectBrandRecommendAdminListCount(BrandRecommendAdminListQuery query);

    List<BrandRecommendAdminListVO> selectBrandRecommendAdminList(BrandRecommendAdminListQuery query);
}
